Some updates
authorHavoc Pennington <hp@redhat.com>
Wed, 18 Oct 2000 18:42:54 +0000 (18:42 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Wed, 18 Oct 2000 18:42:54 +0000 (18:42 +0000)
commit7a4c68938789206bfec3c6d15cc4bb922daf6443
treee5f031fc609e50a8b7b12e7d6abf63cc78cc88e7
parent7420908815651a1ff2ceb1c0fb5e92fe9b260619
Some updates

2000-10-18  Havoc Pennington  <hp@redhat.com>

* gtk/gtk-sections.txt: Some updates

* gdk/gdk-sections.txt: remove GdkPixbufAlphaMode

* gdk-pixbuf/gdk-pixbuf-sections.txt: Add new API, remove
GdkPixbufClass/GdkAnimationClass since those are private

* gdk-pixbuf/Makefile.am (IGNORE_HFILES): ignore more headers

2000-10-18  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextiter.c (gtk_text_iter_forward_to_newline): Fix a bug
where any number of empty lines would get skipped

* gtk/gtktextiter.h: Remove padding from GtkTextIter; live on the
edge.

* gtk/gtktextiter.c (gtk_text_iter_make_surreal): enhance the
warning about invalid iterators (explain more thoroughly)
(gtk_text_iter_in_region): rename gtk_text_iter_in_range

* gtk/gtktextview.c (FOCUS_EDGE_WIDTH): Make focus rectangle less
big

* demos/*.c: Add error handling

* gtk/gtktextbuffer.c: don't modify const iterators

* gtk/gdk-pixbuf-loader.c: Add full error handling here

* gtk/gtkimage.c (gtk_image_set_from_file): ignore errors
on file load

* gtk/gtkiconfactory.c: Update to reflect addition of error
handling to gdk-pixbuf loaders

2000-10-16  Havoc Pennington  <hp@redhat.com>

* gdk-pixbuf-io.c (gdk_pixbuf_get_module)
(gdk_pixbuf_get_named_module) (gdk_pixbuf_load_module):
add error reporting here also

* make-inline-pixbuf.c (main): use GError

* io-xpm.c: include unistd.h

* gdk-pixbuf-util.c: include string.h

* io-*.c: add error reporting

* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): add
error reporting

* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Add error reporting

* gdk-pixbuf-io.h: Add GError** to load_increment and load
methods

* gdk-pixbuf-io.c (gdk_pixbuf_save) (gdk_pixbuf_savev): return
a G_FILE_ERROR if we fail to write or close the file.

* gdk-pixbuf.h: remove GDK_PIXBUF_ERROR_IO, instead we'll use
G_FILE_ERROR_*. Rename enum to GdkPixbufError, properly following
the GError naming rules. Add GError** to load functions.
67 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
demos/pixbuf-demo.c
demos/testanimation.c
demos/testpixbuf-scale.c
demos/testpixbuf.c
docs/reference/ChangeLog
docs/reference/gdk-pixbuf/Makefile.am
docs/reference/gdk-pixbuf/gdk-pixbuf-sections.txt
docs/reference/gdk-pixbuf/tmpl/animation.sgml
docs/reference/gdk-pixbuf/tmpl/creating.sgml
docs/reference/gdk-pixbuf/tmpl/file-loading.sgml
docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-loader.sgml
docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf-unused.sgml
docs/reference/gdk-pixbuf/tmpl/gdk-pixbuf.sgml
docs/reference/gdk-pixbuf/tmpl/module_interface.sgml
docs/reference/gdk-pixbuf/tmpl/util.sgml
docs/reference/gdk/gdk-sections.txt
docs/reference/gtk/gtk-sections.txt
docs/reference/gtk/tmpl/gtk-unused.sgml
docs/reference/gtk/tmpl/gtkrc.sgml
docs/reference/gtk/tmpl/gtkselection.sgml
docs/reference/gtk/tmpl/gtkstyle.sgml
docs/reference/gtk/tmpl/gtktextbuffer.sgml
docs/reference/gtk/tmpl/gtktextiter.sgml
docs/reference/gtk/tmpl/gtktextmark.sgml
docs/reference/gtk/tmpl/gtktexttag.sgml
docs/reference/gtk/tmpl/gtktextview.sgml
docs/reference/gtk/tmpl/gtkwidget.sgml
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-animation.c
gdk-pixbuf/gdk-pixbuf-data.c
gdk-pixbuf/gdk-pixbuf-io.c
gdk-pixbuf/gdk-pixbuf-io.h
gdk-pixbuf/gdk-pixbuf-loader.c
gdk-pixbuf/gdk-pixbuf-loader.h
gdk-pixbuf/gdk-pixbuf-util.c
gdk-pixbuf/gdk-pixbuf.h
gdk-pixbuf/gnome-canvas-pixbuf.c [deleted file]
gdk-pixbuf/gnome-canvas-pixbuf.h [deleted file]
gdk-pixbuf/io-bmp.c
gdk-pixbuf/io-gif.c
gdk-pixbuf/io-ico.c
gdk-pixbuf/io-jpeg.c
gdk-pixbuf/io-png.c
gdk-pixbuf/io-pnm.c
gdk-pixbuf/io-ras.c
gdk-pixbuf/io-tiff.c
gdk-pixbuf/io-wbmp.c
gdk-pixbuf/io-xpm.c
gdk-pixbuf/make-inline-pixbuf.c
gdk/gdkpixmap.c
gtk/gdk-pixbuf-loader.c
gtk/gdk-pixbuf-loader.h
gtk/gtkiconfactory.c
gtk/gtkimage.c
gtk/gtktextbuffer.c
gtk/gtktextiter.c
gtk/gtktextiter.h
gtk/gtktextview.c
gtk/testtext.c
tests/testtext.c